package com.eascs.scheduler.common.entity;


import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the schedule_job database table.
 * 
 */
@Entity
@Table(name="schedule_job")
@NamedQuery(name="ScheduleJob.findAll", query="SELECT c FROM ScheduleJob c")
public class ScheduleJob implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="job_id")
	private String jobId;


	@Column(name="job_name")
	private String jobName;
	
	@Column(name="trigger_name")
	private String triggerName;
	
	@Column(name="job_status")
	private String jobStatus;
	
	
	@Column(name="is_scucess")
	private String isScucess;
	
	@Column(name="is_springbean")
	private String isSpringbean;
	
	@Column(name="concurrent")
	private String concurrent;
	
	
	@Column(name="class_path")
	private String classPath;
	
	@Column(name="method")
	private String method;
	
	@Column(name="cron_expression")
	private String cronExpression;
	
	@Column(name="remark")
	private String remark;

	@Column(name="priority")
	private int priority;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="start_time")
	private Date startTime;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="end_time")
	private Date endTime;
	
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="update_time")
	private Date updateTime;
	
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="create_time")
	private Date createTime;

	
	
	@Column(name="update_psn")
	private String updatePsn;
	
	@Column(name="create_psn")
	private String createPsn;
	
	@Column(name="job_error")
	private String jobError;

	public String getJobId() {
		return jobId;
	}

	public void setJobId(String jobId) {
		this.jobId = jobId;
	}

	public String getJobName() {
		return jobName;
	}

	public void setJobName(String jobName) {
		this.jobName = jobName;
	}

	public String getTriggerName() {
		return triggerName;
	}

	public void setTriggerName(String triggerName) {
		this.triggerName = triggerName;
	}

	public String getJobStatus() {
		return jobStatus;
	}

	public void setJobStatus(String jobStatus) {
		this.jobStatus = jobStatus;
	}

	public String getIsScucess() {
		return isScucess;
	}

	public void setIsScucess(String isScucess) {
		this.isScucess = isScucess;
	}

	public String getIsSpringbean() {
		return isSpringbean;
	}

	public void setIsSpringbean(String isSpringbean) {
		this.isSpringbean = isSpringbean;
	}

	public String getConcurrent() {
		return concurrent;
	}

	public void setConcurrent(String concurrent) {
		this.concurrent = concurrent;
	}

	public String getClassPath() {
		return classPath;
	}

	public void setClassPath(String classPath) {
		this.classPath = classPath;
	}

	public String getMethod() {
		return method;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public String getCronExpression() {
		return cronExpression;
	}

	public void setCronExpression(String cronExpression) {
		this.cronExpression = cronExpression;
	}

	public int getPriority() {
		return priority;
	}

	public void setPriority(int priority) {
		this.priority = priority;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getUpdatePsn() {
		return updatePsn;
	}

	public void setUpdatePsn(String updatePsn) {
		this.updatePsn = updatePsn;
	}

	public String getCreatePsn() {
		return createPsn;
	}

	public void setCreatePsn(String createPsn) {
		this.createPsn = createPsn;
	}

	public String getJobError() {
		return jobError;
	}

	public void setJobError(String jobError) {
		this.jobError = jobError;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	
}